<% if @winstreaks.empty? %>
<div class="empty">You have no betting history.</div>
<% else %>
  <%= render :partial=>"winstreaks/winstreak_table",:collection=>@winstreaks,:as=>:winstreak %>
  </br>
  <%= will_paginate @winstreaks %>
<% end %>
<% content_for :side do %>
<table class='key'>
<tr><td>
	<span style="font-style:italic;font-size:10px;">Use:</span>
</tr></td>
<tr><td>
	50 WinPoints per bet
</tr></td>
<tr><td><center><hr width="100%" size="0.5px" color="#D8DFEA"></center></td></tr>
<tr><td>
	<span style="font-style:italic;font-size:10px;">Bet:</span>
</tr></td>
<tr><td>
	1-500 WinPoints against each friend 
</tr></td>
<tr><td><center><hr width="100%" size="0.5px" color="#D8DFEA"></center></td></tr>
<tr><td>
	<span style="font-style:italic;font-size:10px;">Earn:</span>
</tr></td>
<tr><td>
	50 WinPoints per sent invite
</tr></td>
<tr><td>
	450 WinPoints per accepted invite
</tr></td>
<tr><td>
	5 WinPoints per comment
</tr></td>
</table>
<% end %>